From f78e4ead532753d80bbe051501892892800b4c2d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 28 Aug 2008 09:55:40 +0100 Subject: [PATCH] stubdom: add LANG=C for 'gcc -print-search-dirs' Prevents unwanted localisation of pretty-printing. Signed-off-by: Akio Takebe --- stubdom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubdom/Makefile b/stubdom/Makefile index 817d6f5863..b94c4422a8 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -53,7 +53,7 @@ TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) # Do not use host headers and libs -GCC_INSTALL = $(shell gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p') +GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p') TARGET_CPPFLAGS += -U __linux__ -U __FreeBSD__ -U __sun__ TARGET_CPPFLAGS += -nostdinc TARGET_CPPFLAGS += -isystem $(CURDIR)/$(MINI_OS)/include/posix -- 2.30.2